@B2Color: #B2B2B2;
.search-list-container{
  .esearch-tag-container-header, .esearch-tag-container-content,
  .tag-title-describe, .tag-container {
    padding-left: 4.5%;
    .am-tag-active {
      border-radius: 17*@hd;
    }
  }
  .am-tag-normal {
    margin-right: 8*@hd;
    margin-bottom: 13*@hd;
    // height: 28*@hd;
    line-height: 28*@hd;
    border-radius: 17*@hd;
    padding: 0 10.5*@hd;
    background: #F5F5F5;
    // width: 20%;
    .am-tag-text {
      margin: 0 auto;
      text-align: center;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}

.search-list-container() {
  .search-list-container{
    position: absolute;
    // top: 90*@hd;
    bottom: 0*@hd;
    width: 100%;
    padding-left: 0*@hd;
    .tag-title-describe {
      font-family: PingFangSC-Regular;
      height: 49*@hd;
      span {
        font-size: 16*@hd;
        color: @color-text-paragraph;
        height: 22*@hd;
        display: block;
        float: left;
        line-height: 22*@hd;
        // margin-left: 16*@hd;
        margin-top: 14*@hd;
      }

      label {
        display: block;
        float: left;
        font-size: 14*@hd;
        color: @B2Color;
        height: 20*@hd;
        line-height: 20*@hd;
        margin-left: 11*@hd;
        margin-top: 16*@hd;
      }
    }
    .tag-container {
      clear: both;
      display: flex;
      padding-top: 9*@hd;
      flex-direction: row;
      flex-wrap: wrap;
      // div {
      //   margin-left: 4%;
      //   margin-bottom: 2.1%;
      //   height: 34*@hd;
      //   line-height: 34*@hd;
      //   width: 20%;
      //   border-radius: 17*@hd;
      //   padding: 0;
      //   .am-tag-text {
      //     margin: 0 auto;
      //     font-size: 14*@hd;
      //     letter-spacing: -0.39*@hd;
      //     text-align: center;
      //     width: 100%;
      //     white-space: nowrap;
      //     overflow: hidden;
      //     text-overflow: ellipsis;
      //   }
      // }
      .no-hot {
        margin: 0 auto;
        color: @B2Color;
      }
    }
  }
}

.esearch-bar-content {
  position: relative;
  background: @fill-base;
  height: 100%;
  .am-search {
    padding-left: 9*@hd;
    .am-search-select {
      margin-right: 11.8*@hd;
      background: #fff;
    }
    .am-search-select:after{
      display: none;
    }
    .am-search-extra {
      height: 36*@hd;
      line-height: 36*@hd;
      .am-icon-filter-o-hot {
        color: @brand-primary;
      }
    }
    .am-search-input {
      height: 36*@hd;
      .am-search-synthetic-ph {
        height: 36*@hd;
        display: flex;
        align-items: center;
        .am-search-synthetic-ph-container {
          span{
            font-family: PingFangSC-Regular;
            font-size: 13*@hd;
          }
        }
      }
      .am-search-value{
        height: 36*@hd;
      }
      .am-search-clear {
        margin-top: 3*@hd;
      }
    }
  }
  .search-list-container{
    position: absolute;
    top: 45*@hd;
    bottom: 0*@hd;
    width: 100%;
    padding-left: 0*@hd;
    .tag-title-describe {
      font-family: PingFangSC-Regular;
      height: 49*@hd;
      span {
        font-size: 16*@hd;
        color: @color-text-paragraph;
        height: 22*@hd;
        display: block;
        float: left;
        line-height: 22*@hd;
        margin-left: 16*@hd;
        margin-top: 14*@hd;
      }

      label {
        display: block;
        float: left;
        font-size: 14*@hd;
        color: @B2Color;
        height: 20*@hd;
        line-height: 20*@hd;
        margin-left: 11*@hd;
        margin-top: 16*@hd;
      }
    }
    .tag-container {
      clear: both;
      display: flex;
      padding-top: 9*@hd;
      flex-direction: row;
      flex-wrap: wrap;
      div {
        margin-left: 4%;
        margin-bottom: 2.1%;
        height: 34*@hd;
        line-height: 34*@hd;
        width: 20%;
        border-radius: 17*@hd;
        padding: 0;
        .am-tag-text {
          margin: 0 auto;
          font-size: 14*@hd;
          letter-spacing: -0.39*@hd;
          text-align: center;
          width: 100%;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
      }
      .no-hot {
        margin: 0 auto;
        color: @B2Color;
      }
    }
  }
  .floating-layer {
    position: absolute;
    right: 30*@hd;
    bottom: 30*@hd;
    width: 40*@hd;
    height: 40*@hd;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: @brand-primary;
    z-index: 99;
    .am-icon-customer-service{
      width: 30*@hd;
      height: 30*@hd;
    }
  }
}
.wm-route-layout {
  // background-color: @fill-mask ;
  height: 100%;
}

.esearch-home-container {
  width: 100%;
  height: 100%;
  .esearch-loading {
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1;
    background-color: #f3f7fe;
  }
  >div {
    width: 100%;
    height: 100%;
  }
  .search-bar-content {
    width: 100%;
  }
  .esearch-tag-container {
    flex-wrap: wrap;
    &-header {
      height: 49*@hd;
      // border: 1*@hd solid red;
      width: 100%;
      .tag-describe {
        font-size: 16*@hd;
        color: @color-text-paragraph;
        height: 22*@hd;
        display: block;
        float: left;
        line-height: 22*@hd;
        margin-left: 0*@hd;
        margin-top: 14*@hd;
      }
      .tag-label {
        display: block;
        float: left;
        font-size: 14*@hd;
        color: @B2Color;
        height: 20*@hd;
        line-height: 20*@hd;
        margin-left: 11*@hd;
        margin-top: 16*@hd;
      }
      .tag-extra {
        float: right;
        height: 100%;
        padding: 0 13*@hd;
        display: flex;
        align-items: center;
        .am-icon {
          color: @B2Color;
          width: 16*@hd;
          height: 16*@hd;
        }
      }
    }
    &-content {
      clear: both;
      display: flex;
      width: 100%;
      // padding-top: 9*@hd;
      flex-direction: row;
      flex-wrap: wrap;
      // .am-tag-normal {
      //   margin-left: 8*@hd;
      //   margin-bottom: 13*@hd;
      //   height: 28*@hd;
      //   line-height: 28*@hd;
      //   border-radius: 17*@hd;
      //   padding: 0 10.5*@hd;
      //   background: #F5F5F5;
      //   .am-tag-text {
      //     margin: 0 auto;
      //     // font-size: 14*@hd;
      //     text-align: center;
      //     width: 100%;
      //     white-space: nowrap;
      //     overflow: hidden;
      //     text-overflow: ellipsis;
      //   }
      // }
      .no-hot {
        margin: 0 auto;
        color: @B2Color;
      }
    }
  }
}

.esearch-advance-from {
  width: 100%;
  height: 100%;
  background-color: #fff;
  .saveas-btn {
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #868686;
    line-height: normal;
    .saveas-btn-icon {
      width: 100%;
      height: 24*@hd;
      display: flex;
      justify-content: center;
      align-items: flex-end;
      color: #868686;
    }
    .saveas-btn-label{
      font-size: 10*@hd;
      height: 23*@hd;
      line-height: 23*@hd;
    }
  }
  .reset-btn {
    background: #F7F7F7;
  }
}

// 首页
.esearch-home {
  position: relative;
  background: @fill-base;
  height: 100%;
  .search-list-container();
}

// 结果页
.esearch-result {
  .list-container {
    overflow-y: auto;
    // border: 1*@hd solid blue;
  }
}

// tab列表
.esearch-tablist {
  background-color: #fff;
  .search-bar-route-layout {
    height: calc(~'80% - '10*@hd);
    overflow: auto;
    box-shadow: 0*@hd 1*@hd 10*@hd #888;
    -webkit-overflow-scrolling: touch;
  }
  .esearch-tablist-bottom {
    height: 20%;
    margin-top: 10*@hd;
  }
  .esearch-type-lists {
    .am-accordion-header {
      display: none;
    }
  }
}

// 常用条件设置
.esearch-commonConditionSet {
  .esearch-commonset {
    height: 100%;
    background: #fff;
    .esearch-commonset-top {
      .esearch-commonset-top-btn {
        color: @brand-primary;
        border-top: 0;
        border-right: 0;
        border-left: 0;
        .am-icon-plus {
          vertical-align: middle;
          margin-right: 10*@hd;
        }
      }
    }
    .esearch-commonset-list {
      height: calc(~'100% - '47*@hd);
      overflow: auto;
      .e-item {
        .wm-list-page-item-row-span-text-highlight {
          font-weight: inherit;
        }
      }
    }
    .esearch-commonset-btn {
      position: fixed;
      width: 100%;
      bottom: 0;
    }
  }
}

// 添加常用条件
.esearch-addCommonSetLayout {
  height: 100%;
  background: #fff;
}